package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-12-07
 */
public class JqwbMachinemaintenancedetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "DID", type = IdType.AUTO)
    private Integer did;
    private String tid;
    private String faultdescription;
    private String faultpartsname;
    private String faulttype;
    private String operator;
    private String repairer;
    @TableField(exist = false)
    private String repairerName;
    private Date repairtime;
    private Date repaircreatetime;
    private String machinecollectionnums;
    private String performrepairer;
    private String guiderepairer;
    private String confirmrepairer;
    private String replaceparts1;
    private String qrcode1;
    private String replaceparts2;
    private String qrcode2;
    private String replaceparts3;
    private String qrcode3;
    private Date repairstarttime;
    private Date repairendtime;
    private Date createtime;
    private String armcode;
    private String stmcode;

    public String getRepairerName() {
        return repairerName;
    }

    public void setRepairerName(String repairerName) {
        this.repairerName = repairerName;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getFaultdescription() {
        return faultdescription;
    }

    public void setFaultdescription(String faultdescription) {
        this.faultdescription = faultdescription;
    }

    public String getFaultpartsname() {
        return faultpartsname;
    }

    public void setFaultpartsname(String faultpartsname) {
        this.faultpartsname = faultpartsname;
    }

    public String getFaulttype() {
        return faulttype;
    }

    public void setFaulttype(String faulttype) {
        this.faulttype = faulttype;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRepairer() {
        return repairer;
    }

    public void setRepairer(String repairer) {
        this.repairer = repairer;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRepairtime() {
        return repairtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRepairtime(Date repairtime) {
        this.repairtime = repairtime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRepaircreatetime() {
        return repaircreatetime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRepaircreatetime(Date repaircreatetime) {
        this.repaircreatetime = repaircreatetime;
    }

    public String getMachinecollectionnums() {
        return machinecollectionnums;
    }

    public void setMachinecollectionnums(String machinecollectionnums) {
        this.machinecollectionnums = machinecollectionnums;
    }

    public String getPerformrepairer() {
        return performrepairer;
    }

    public void setPerformrepairer(String performrepairer) {
        this.performrepairer = performrepairer;
    }

    public String getGuiderepairer() {
        return guiderepairer;
    }

    public void setGuiderepairer(String guiderepairer) {
        this.guiderepairer = guiderepairer;
    }

    public String getConfirmrepairer() {
        return confirmrepairer;
    }

    public void setConfirmrepairer(String confirmrepairer) {
        this.confirmrepairer = confirmrepairer;
    }

    public String getReplaceparts1() {
        return replaceparts1;
    }

    public void setReplaceparts1(String replaceparts1) {
        this.replaceparts1 = replaceparts1;
    }

    public String getQrcode1() {
        return qrcode1;
    }

    public void setQrcode1(String qrcode1) {
        this.qrcode1 = qrcode1;
    }

    public String getReplaceparts2() {
        return replaceparts2;
    }

    public void setReplaceparts2(String replaceparts2) {
        this.replaceparts2 = replaceparts2;
    }

    public String getQrcode2() {
        return qrcode2;
    }

    public void setQrcode2(String qrcode2) {
        this.qrcode2 = qrcode2;
    }

    public String getReplaceparts3() {
        return replaceparts3;
    }

    public void setReplaceparts3(String replaceparts3) {
        this.replaceparts3 = replaceparts3;
    }

    public String getQrcode3() {
        return qrcode3;
    }

    public void setQrcode3(String qrcode3) {
        this.qrcode3 = qrcode3;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRepairstarttime() {
        return repairstarttime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRepairstarttime(Date repairstarttime) {
        this.repairstarttime = repairstarttime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRepairendtime() {
        return repairendtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRepairendtime(Date repairendtime) {
        this.repairendtime = repairendtime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatetime() {
        return createtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getArmcode() {
        return armcode;
    }

    public void setArmcode(String armcode) {
        this.armcode = armcode;
    }

    public String getStmcode() {
        return stmcode;
    }

    public void setStmcode(String stmcode) {
        this.stmcode = stmcode;
    }

    @Override
    public String toString() {
        return "JqwbMachinemaintenancedetail{" +
                "did=" + did +
                ", tid='" + tid + '\'' +
                ", faultdescription='" + faultdescription + '\'' +
                ", faultpartsname='" + faultpartsname + '\'' +
                ", faulttype='" + faulttype + '\'' +
                ", operator='" + operator + '\'' +
                ", repairer='" + repairer + '\'' +
                ", repairerName='" + repairerName + '\'' +
                ", repairtime=" + repairtime +
                ", repaircreatetime=" + repaircreatetime +
                ", machinecollectionnums='" + machinecollectionnums + '\'' +
                ", performrepairer='" + performrepairer + '\'' +
                ", guiderepairer='" + guiderepairer + '\'' +
                ", confirmrepairer='" + confirmrepairer + '\'' +
                ", replaceparts1='" + replaceparts1 + '\'' +
                ", qrcode1='" + qrcode1 + '\'' +
                ", replaceparts2='" + replaceparts2 + '\'' +
                ", qrcode2='" + qrcode2 + '\'' +
                ", replaceparts3='" + replaceparts3 + '\'' +
                ", qrcode3='" + qrcode3 + '\'' +
                ", repairstarttime=" + repairstarttime +
                ", repairendtime=" + repairendtime +
                ", createtime=" + createtime +
                ", armcode='" + armcode + '\'' +
                ", stmcode='" + stmcode + '\'' +
                '}';
    }
}
